package com.lanyou.cook.upload.commons;

public class Constants {

	/**
	 * 上传文件所保存路径
	 */
	public static final String BUNDLE_FILE_UPLOAD_PATH = "bundleFileUploadPath";
	/**
	 * 上传文件所保存目录
	 */
	public static final String BUNDLE_FILE_UPLOAD_DIR = "bundleFile";
	/**
	 * 上传文件成功标示
	 */
	public static final String BUNDLE_FILE_UPLOAD_SUCCESS = "success";
	/**
	 * 上传文件失败标示
	 */
	public static final String BUNDLE_FILE_UPLOAD_FAIL = "fail";
	
	/**
	 * 不是form表单
	 */
	public static final String BUNDLE_FILE_UPLOAD_IS_NOT_FORM = "is not form";
	
	/**
	 * 上传文件用户
	 */
	public static final String BUNDLE_FILE_UPLOAD_USERNAME = "userName";
	
	/**
	 * 上传密码
	 */
	public static final String BUNDLE_FILE_UPLOAD_PASSWORD = "pwd";
	
	/**
	 * socket服务的监听端口
	 */
	public static final String SOCKET_SERVER_PORT = "socket_server_port";
	
	/**
	 * socket服务的监听端口
	 */
	public static final String SOCKET_SERVER_PORT_DEL = "socket_server_port_del";
	
	/**
	 * socket服务每次读取文件命名的大小
	 */
	public static final String SOCKET_INPUTSTREAM_SIZE_FOR_FILENAME = "socket_inputstream_size_for_filename";
	
	/**
	 * socket服务每次读取文件内容的大小
	 */
	public static final String SOCKET_INPUTSTREAM_SIZE_FOR_FILE = "socket_inputstream_size_for_file";
}
